#ifdef	__cplusplus
extern "C" {
#endif

#include "../include/utils/msp430lib.h"

#define MULTIEDITBOX_SUCCESS            0
#define MULTIEDITBOX_FAILURE            -1
#define MULTIEDITBOX_TEXT_EXCEED        -2
#define MULTIEDITBOX_MAX_NUMBER         50
#define true                            1
#define false                           0

    extern int multieditbox_create(int qt_lines, unsigned int x, unsigned int y,
            unsigned int width, unsigned int font_height, unsigned int font_r,
            unsigned int font_g, unsigned int font_b, unsigned int r,
            unsigned int g, unsigned int b);

    extern signed int multieditbox_destroy(signed int multieditboxId);
    
    extern int multieditbox_draw(int multieditboxId);

    extern int multieditbox_delete(int multieditboxId);

    extern int multieditbox_setVisible(int multieditboxId, unsigned char visible);

    extern int multieditbox_getText(int multieditboxId, unsigned char *text);

    extern int multieditbox_setText(int multieditboxId, unsigned char *text);

    extern void multieditbox_setLineFontColor(int multieditboxId, int line,
            unsigned int font_red, unsigned int font_green, unsigned int font_blue);

	extern signed int multieditbox_getX(signed int multieditboxId);

	extern signed int multieditbox_getX(signed int multieditboxId);

	extern signed int multieditbox_getWidth(signed int multieditboxId);

	extern signed int multieditbox_getHeight(signed int multieditboxId);

	extern unsigned int multieditbox_getFontHeight(signed int multieditboxId);

#ifdef	__cplusplus
}
#endif
